# generate_html.py

html_content = """
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My Personal Website</title>
</head>
<body>
    <h1>Welcome to My Website</h1>
    <p>This is a simple website created with Python and hosted on Gitee Pages.</p>
</body>
</html>
"""

# 将生成的 HTML 写入文件
with open("index.html", "w") as file:
    file.write(html_content)

print("HTML file generated!")